package l2hc.loginserver.network.gameservercon.lspackets;

import l2hc.loginserver.network.gameservercon.SendablePacket;

/**
 * @date 27.04.12
 * @time 13:02
 */
public class ChangePasswordResponse extends SendablePacket
{
	String _account;
	int _state;

	public ChangePasswordResponse(String account, boolean hasChanged)
	{
		_account = account;
		_state = hasChanged ? 1 : 0;
	}

	protected void writeImpl()
	{
		writeC(6);
		writeS(_account);
		writeD(_state);
	}
}
